#include <iostream>
#include <cstring>





int main()
{
    // char str[20] = "helloworld!";
    // const char *s = "helloword!";
    std::string s = "helloworlf";
    s = s + "nihao";
    std::cin>>s;
    std::cout<<s<<std::endl;
    std::cout<<s.size()<<std::endl;
    return 0;
}